package com.wty.zuul.rsa;

/**
 * rsa加解密用的公钥和私钥
 *
 * @author Administrator
 */
public class RsaKeys {

    //生成秘钥对的方法可以参考这篇帖子
    //https://www.cnblogs.com/yucy/p/8962823.html

//	//服务器公钥
//	private static final String serverPubKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6Dw9nwjBmDD/Ca1QnRGy"
//											 + "GjtLbF4CX2EGGS7iqwPToV2UUtTDDemq69P8E+WJ4n5W7Iln3pgK+32y19B4oT5q"
//											 + "iUwXbbEaAXPPZFmT5svPH6XxiQgsiaeZtwQjY61qDga6UH2mYGp0GbrP3i9TjPNt"
//											 + "IeSwUSaH2YZfwNgFWqj+y/0jjl8DUsN2tIFVSNpNTZNQ/VX4Dln0Z5DBPK1mSskd"
//											 + "N6uPUj9Ga/IKnwUIv+wL1VWjLNlUjcEHsUE+YE2FN03VnWDJ/VHs7UdHha4d/nUH"
//											 + "rZrJsKkauqnwJsYbijQU+a0HubwXB7BYMlKovikwNpdMS3+lBzjS5KIu6mRv1GoE"
//											 + "vQIDAQAB";

//	//服务器私钥(经过pkcs8格式处理)
//	private static final String serverPrvKeyPkcs8 = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDoPD2fCMGYMP8J"
//				 								 + "rVCdEbIaO0tsXgJfYQYZLuKrA9OhXZRS1MMN6arr0/wT5YniflbsiWfemAr7fbLX"
//				 								 + "0HihPmqJTBdtsRoBc89kWZPmy88fpfGJCCyJp5m3BCNjrWoOBrpQfaZganQZus/e"
//				 								 + "L1OM820h5LBRJofZhl/A2AVaqP7L/SOOXwNSw3a0gVVI2k1Nk1D9VfgOWfRnkME8"
//				 								 + "rWZKyR03q49SP0Zr8gqfBQi/7AvVVaMs2VSNwQexQT5gTYU3TdWdYMn9UeztR0eF"
//				 								 + "rh3+dQetmsmwqRq6qfAmxhuKNBT5rQe5vBcHsFgyUqi+KTA2l0xLf6UHONLkoi7q"
//				 								 + "ZG/UagS9AgMBAAECggEBANP72QvIBF8Vqld8+q7FLlu/cDN1BJlniReHsqQEFDOh"
//				 								 + "pfiN+ZZDix9FGz5WMiyqwlGbg1KuWqgBrzRMOTCGNt0oteIM3P4iZlblZZoww9nR"
//				 								 + "sc4xxeXJNQjYIC2mZ75x6bP7Xdl4ko3B9miLrqpksWNUypTopOysOc9f4FNHG326"
//				 								 + "0EMazVaXRCAIapTlcUpcwuRB1HT4N6iKL5Mzk3bzafLxfxbGCgTYiRQNeRyhXOnD"
//				 								 + "eJox64b5QkFjKn2G66B5RFZIQ+V+rOGsQElAMbW95jl0VoxUs6p5aNEe6jTgRzAT"
//				 								 + "kqM2v8As0GWi6yogQlsnR0WBn1ztggXTghQs2iDZ0YkCgYEA/LzC5Q8T15K2bM/N"
//				 								 + "K3ghIDBclB++Lw/xK1eONTXN+pBBqVQETtF3wxy6PiLV6PpJT/JIP27Q9VbtM9UF"
//				 								 + "3lepW6Z03VLqEVZo0fdVVyp8oHqv3I8Vo4JFPBDVxFiezygca/drtGMoce0wLWqu"
//				 								 + "bXlUmQlj+PTbXJMz4VTXuPl1cesCgYEA6zu5k1DsfPolcr3y7K9XpzkwBrT/L7LE"
//				 								 + "EiUGYIvgAkiIta2NDO/BIPdsq6OfkMdycAwkWFiGrJ7/VgU+hffIZwjZesr4HQuC"
//				 								 + "0APsqtUrk2yx+f33ZbrS39gcm/STDkVepeo1dsk2DMp7iCaxttYtMuqz3BNEwfRS"
//				 								 + "kIyKujP5kfcCgYEA1N2vUPm3/pNFLrR+26PcUp4o+2EY785/k7+0uMBOckFZ7GIl"
//				 								 + "FrV6J01k17zDaeyUHs+zZinRuTGzqzo6LSCsNdMnDtos5tleg6nLqRTRzuBGin/A"
//				 								 + "++xWn9aWFT+G0ne4KH9FqbLyd7IMJ9R4gR/1zseH+kFRGNGqmpi48MS61G0CgYBc"
//				 								 + "PBniwotH4cmHOSWkWohTAGBtcNDSghTRTIU4m//kxU4ddoRk+ylN5NZOYqTxXtLn"
//				 								 + "Tkt9/JAp5VoW/41peCOzCsxDkoxAzz+mkrNctKMWdjs+268Cy4Nd09475GU45khb"
//				 								 + "Y/88qV6xGz/evdVW7JniahbGByQhrMwm84R9yF1mNwKBgCIJZOFp9xV2997IY83S"
//				 								 + "habB/YSFbfZyojV+VFBRl4uc6OCpXdtSYzmsaRcMjN6Ikn7Mb9zgRHR8mPmtbVfj"
//				 								 + "B8W6V1H2KOPfn/LAM7Z0qw0MW4jimBhfhn4HY30AQ6GeImb2OqOuh3RBbeuuD+7m"
//				 								 + "LpFZC9zGggf9RK3PfqKeq30q";

    /*服务器公钥*/
    private static final String serverPubKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxRxUVQnAUVOL+BdxVJjw\n" +
        "Hcv+X+xKu85FfzhEW3tFn7s1RDugvbgKiUr5lyX3jR6yuMjeYGX5hlFWVRfkI8E/\n" +
        "bD9NWssM0kHlcBbdEWVzQNEnF4BjyoD2ZdaY3g+jvSh18N5kYcQmWytP+3dMNSvm\n" +
        "SXGTX08ttOYjUtKWqSG/5N3/7zDcpTxfCDhkqsKliRCQrF/aMZEyu0geysOrdeGV\n" +
        "ZQGYwFN8z3yhIvksB1FGid1db7QjTcZie/lF0ew8Y8X8vJQUw6QhEBP1JmTfgfPe\n" +
        "LcvMpXG6acZv+vDCjbRX2xDGpg4SHcbvxDbJtIb+Q/mgv3q9NxchdXjAA5czR8uD\n" +
        "xwIDAQAB";

    /*服务器私钥(经过pkcs8格式处理)*/
    private static final String serverPrvKeyPkcs8 = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDFHFRVCcBRU4v4\n" +
        "F3FUmPAdy/5f7Eq7zkV/OERbe0WfuzVEO6C9uAqJSvmXJfeNHrK4yN5gZfmGUVZV\n" +
        "F+QjwT9sP01aywzSQeVwFt0RZXNA0ScXgGPKgPZl1pjeD6O9KHXw3mRhxCZbK0/7\n" +
        "d0w1K+ZJcZNfTy205iNS0papIb/k3f/vMNylPF8IOGSqwqWJEJCsX9oxkTK7SB7K\n" +
        "w6t14ZVlAZjAU3zPfKEi+SwHUUaJ3V1vtCNNxmJ7+UXR7Dxjxfy8lBTDpCEQE/Um\n" +
        "ZN+B894ty8ylcbppxm/68MKNtFfbEMamDhIdxu/ENsm0hv5D+aC/er03FyF1eMAD\n" +
        "lzNHy4PHAgMBAAECggEBAKd8TfBAK+kuy4VQLh1LIuS+vHO3bT0tpYHXRsZQ9bUn\n" +
        "Nri2zfvHETTdvzz+pt2DkytOix5wJ9lI7cm6VkFHaGPLWihm1osmMRXQZ6HriUYv\n" +
        "Mj9W+fRNJpEcCqLNuTz2z1iPL86fBFR9diXflaKsna4UUrwupFDNKICsrhYitlJ6\n" +
        "DocnVkQh55f1vnQYSdE3NbRkj92CebalMYtIaae0VxZn4bHcT9dERVUHRe9uv1kf\n" +
        "EH8P/K25szs+QxP7kIUItboKlZRiCUgF7l2GLF4H9szHEX4qxC1sxHsfOAcQ45c7\n" +
        "c3ybyJdp1l4mo2YSxjFAovSEc7rVWOBgY3R1VnHsMkkCgYEA6RO6QpsamoLiut8L\n" +
        "k9hIxWg3I8ddigvB/aLLBqCPYW2xr/ZFWXv9n4qh7aS0dRiNK0Hvy4KpT61Lhhvp\n" +
        "UWYBR/N2L4o1Lp92NaJQ/wxr9xq/ozP1BYkZZsPOo+PhxHr1hijEWU7V95obB9v5\n" +
        "+6pq0TLDmnpsFzKfm42y8XY9YB0CgYEA2H8PzbMsBBJ0n3wzKgxjHzmvgO1PZ/is\n" +
        "fdwKcIuJjHiWhnjHLsnps+SkHMNg/f+hDU3+w64V6U4FdxDs/fAYcaL2vSWTWT2R\n" +
        "mvZMxXM3jOAcqz3zwuJap+56JRII/lAp1wIVdfz/deVXDGKOQApOxGtY+xqXcs9n\n" +
        "bvBwJxEUdjMCgYEAvORhCoPbTqeOirYjEuGxMFNihJuZQjx/LkhV0/wh12roG1wy\n" +
        "HfBvvnHDA+581X1dQ1Z/uWYeQ1WFpJ1QPMi3dxFnkeWnbi6LxbHThLATe8Lw1ppQ\n" +
        "E/llXbSI7qfLm8mu29iEMIDExZLeH0N22C/nu70xayuWGELNuWpgQHJ8ET0CgYAX\n" +
        "LGqdowsYGH2hQKMdYhwOEJennj88qtKT2kTHzTfY8GN0W2M+r+AzIEssxQERzxYH\n" +
        "HY0ilvTDd1WAbDBh8hw7tazhjC8cg0mdo7WOAQo2KxsGfWglOSNpDE7Ivwh1aFFC\n" +
        "MXfonD8f+H971OTTGAdcYP0yS6NgZ7DzoArxM5PUHwKBgQCAqP6K4AhHqX7tFCu8\n" +
        "gtF0z0EBxco9m6rAFqt7g+ARUQhthmAGIER76p9YwRi4bY26+Bo1XLW2OdtxKXS0\n" +
        "pVfGlhcLGQRrqOf3g/apChaEofGxQ6bZQubpoweF/4C6YIy+twIhhsL2zSxj3z4X\n" +
        "VJRft0ntxKTEyNUwJ9rTpbjcwQ==";

    public static String getServerPubKey() {
        return serverPubKey;
    }

    public static String getServerPrvKeyPkcs8() {
        return serverPrvKeyPkcs8;
    }

}
